<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
.error {
	color: red;
}
</style>

<title>Student Register Form</title>


</head>
<body>
	<form:form action="StudentRegister.html" commandName="registerForm">
Enter Student ID:<form:input path="id" />
		<form:errors path="id" cssClass="error" />
		<br>
Enter Student Name:<form:input path="name" />
		<form:errors path="name" cssClass="error" />
		<br>
Enter Father's Name:<form:input path="fname" />
		<form:errors path="fname" cssClass="error" />
		<br>
Enter Gender:<form:radiobutton path="gender" value="Male" />Male 
             <form:radiobutton path="gender" value="Female" />Female
		<form:errors path="gender" cssClass="error" />
		<br>
Enter Address:<form:input path="address" />
		<form:errors path="address" cssClass="error" />
		<br>
Enter Email:<form:input path="email" />
		<form:errors path="email" cssClass="error" />
		<br>
Enter Course:<form:input path="course" />
		<form:errors path="course" cssClass="error" />
		<br>
Enter Contact Number :<form:input path="contact" />
		<form:errors path="contact" cssClass="error" />
		<br>
Enter Issue Date :<form:input path="inDate" />
		<form:errors path="inDate" cssClass="error" />
		<br>
Enter Valid Date :<form:input path="validDate" />
		<form:errors path="validDate" cssClass="error" />
		<br>
		<input type="submit" value="Register">
	</form:form>
</body>
</html>